<template>
  <div class="blank-comp">
    <el-image :src="url" :style="{ width: picWidth }" fit="fit"></el-image>
    <p class="p1">{{ title }}</p>
  </div>
</template>

<script>
export default {
  name: "blank",
  props: {
    title: {
      type: String,
      default: "暂无数据",
    },
    picWidth: {
      type: String,
      default: "300px",
    },
  },
  data() {
    return {
      url: require("@/assets/img/components/1.png"),
    };
  },
};
</script>

<style scoped lang="scss">
@import "@/assets/scss/components/blank.scss";
</style>
